package practice.practice_0903;

public class SpecialTransportVehicle extends Transportation implements Maintenance{
    //无参构造
    public SpecialTransportVehicle(){
        super();
    }
    //有参构造
    public SpecialTransportVehicle(String number,String model,String principal){
        super(number,model,principal);//调用父类中的有参构造方法
    }
    //重写保养功能
    public  void maintenance(){
        System.out.println("货物运输车辆保养完毕！");
    }
    //运输方法
    public  void transport(){
        System.out.println("运输进行中。。。");
    }
}
